package com.acmetelecom.call;

import org.joda.time.DateTime;

import com.acmetelecom.customer.Customer;

public abstract class CallEvent {
    private Customer caller;
    private Customer callee;
    private DateTime time;

    public CallEvent(Customer from, Customer to, DateTime timeStamp) {
        this.caller = from;
        this.callee = to;
        this.time = timeStamp;
    }
    
    public Customer getCaller() {
        return caller;
    }

    public Customer getCallee() {
        return callee;
    }

    public DateTime time() {
        return time;
    }
}
